{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<style type="text/css">
.page{float:left;}
</style>
<body>
<div class="sub-body">
<div class="tab_info">
<div class="tab-title-1"  style="width:698px;"><span>{$lang.main_label_manage}</span></div>
<table  width="700px" cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1">
	<tr>
		<td colspan="6" align="right" style="padding-right:50px;"><a href="{url index.php?app=main_label&act=add}" class="add btn-2">{$lang.add_new_main}</a></td>
	</tr>
      <tr>
        <th width="15%">{$lang.main_code}</th>
        <th width="10%">{$lang.genus_brand}</th>
		<th width="10%">{$lang.handle}</th>
      </tr>
	  <!--{foreach from=$main_list item=main}-->
       <tr>
        <td>{$main.main_code|escape}</td>
        <td>{$main.brand_name|escape}</td>
		<td><a href="{url app=main_label&act=edit&m_id=$main.m_id}">{$lang.edit}</a>&nbsp;<a href="javascript:if(confirm('确认删除此主唛吗?')==true){location.href='{url app=main_label&act=drop&m_id=$main.m_id}';};">{$lang.delete}</a></td>
      </tr>
	  <!--{/foreach}-->
    </table>
    <div>{include file=page.html}</div>
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div></div>
</body>
</html>